  <?php
                        if (empty($_SESSION['username'])) {
                            echo '<form style="margin-top:30px;" name="login" id="login" method="post" class="logination">
                            <ul>
                                <li>
                                    <h4 style="font-size:12pt;">Login</h4>
                                </li>
                                <li>
                                    <input name="username" placeholder="Username" id="username" type="text"/>	<br>
                                    <div class="mid" id="LoginError" style="DISPLAY: none" >
                                        Username not found.
                                    </div>
                                </li>
                                <li>
                                    <input name="password" placeholder="Password" id="password" type="password"/>	
										<br>
                                    <div class="mid" id="PasswordError" style="DISPLAY: none" >
                                        Password does not match.
                                    </div>
                                </li>
                                <li>
                                    <button  id="submitLogin" type="submit">Log-In</button> <h4 class="alignright">Not yet a member? </h4> 
                                </li>
                                <li>
                                    <a href="Register.php"><h4 class="alignright">Register Now!</h4></a>
                                </li>

                            </ul>
                        </form>';
                        } else {
                            echo 'Welcome, ' . $_SESSION['username'] . ".<br><a href='HomePage.php?logout'><b>Logout<b></a>";
                        }
                        ?>           